arm/gnttab: Implement stub helpers as static inlines
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 21 Nov 2018 18:38:41 +0000 (18:38 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 8 Jul 2019 21:18:42 +0000 (16:18 -0500)
commitaef98bd489c479c924716cfc1b4a511635800391
tree7e06c8848b73080f3dae21ee51c63aff725496f3
parentf0095703890072568db12e9efdc2997070e4e949
arm/gnttab: Implement stub helpers as static inlines

It is inefficient to call into a different translation unit for a stub
function, when a static inline will work fine.  Replace an open-coded
printk_once() while moving it.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/mm.c
xen/include/asm-arm/grant_table.h